package com.cls.business.mapper;

import com.cls.business.entity.DeclareTopic;
import com.cls.business.entity.Report;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cls.business.vo.DeclareTopicVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 举报表 Mapper
 *
 * @author wmm
 * @date 2020-11-23 10:49:10
 */
@Repository
public interface ReportMapper extends BaseMapper<Report> {

    List<DeclareTopicVO> findDeclareTopics(@Param("declareTopic") DeclareTopic declareTopic);


    DeclareTopicVO findDetail2Report(@Param("reportId")Long reportId);
}
